import org.junit.*;

public class CredoHomeTest {
	CredoHome ch= new CredoHome();
	PhonesPage ph= new PhonesPage();
	@Test
	public void testHomeOpen()
	{
		ch.openHome();
		
	}
	
	@Test
	public void testPhonesNavigation()
	{
		ch.openHome();
		ch.gotoPhonesPage();
		ph.verifyTitle();
	}
	
	@Test
	public void testPhoneListNavigation()
	{
	ch.openHome();
	ch.gotoPhonesListPage("All Phones");
	}

	@After
	public void tearDown()
	{
		ch.closeBrowser();
	}
	
}
